package edu.whu.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_supplier")
public class Supplier {
    @TableId
    Integer id;
    String name;
    @TableField("product_id")
    Integer productId;

    public Supplier() {
    }

    public Supplier(Integer id, String name, Integer productId) {
        this.id = id;
        this.name = name;
        this.productId = productId;
    }
}
